import Layout from '@/layout'

const wikiRouter = [
  {
    path: '/wiki',
    component: Layout,
    redirect: '/wiki/wikiList',
    alwaysShow: true,
    name: 'wiki',
    meta: {
      title: 'wiki',
      icon: 'lock'
    },
    children: [
      {
        path: 'wikiList',
        component: () => import('@/views/wiki/wikiList'),
        name: 'wikiList',
        meta: {
          title: '知识库 - '
        }
      },
      {
        path: 'wikiSearchList',
        component: () => import('@/views/wiki/wikiSearchList'),
        name: 'wikiSearchList',
        meta: {
          title: '知识库 - '
        }
      }      
    ]
  }
]
export default wikiRouter
